function linkedSelect(s1Name,s2Name,options) {
	var s1 = document.getElementById(s1Name);
	var s2 = document.getElementById(s2Name);
	var s2x = document.getElementById(s2Name+"_x");
	var s1Val = s1.options[s1.selectedIndex].value;
	var s2Val = s2.options[s2.selectedIndex].value;
	for (i = 0; i < options.length; i++) {
		if (options[i][0] == s1Val) { break; }
	} 
	s2.options.length = 0; k = -1;
	for (j = 1; j < options[i].length; j++) {
		if (options[i][j] == s2Val) { k = j-1; }
		s2.options[s2.options.length] = 
			new Option(options[i][j],options[i][j]);
	}
	s2.options[s2.options.length] =
		new Option("Other - please specify:","[Other]");
	if (k == -1) { k = 0; }
	s2.options[k].selected = true;
	if (s2x) { s2x.style.display = "none"; }
}
